import { useDetail, useList } from "@/hooks";
import { getUserInfoUrl } from "@/command/apiTool";
import { getAction, postAction } from "@/command/netTool";
import * as vant from "vant";
const { showFailToast, showSuccessToast } = vant;
import { useRouter } from "vue-router";
export const useRequest = () => {
  const router = useRouter();
  const confirm = (params: any) => {
    console.log("eee", params);
    postAction(
      "/H5/skill/product/small/seedApply",
      { ...params },
      { isResolve: true }
    ).then((e) => {
      // showSuccessToast(e.msg)
    });
  };
  return {
    confirm,
  };
};
